<include file="Common/index_header-new" />
<link rel="stylesheet" href="__PUBLIC__/home/v2/css/detail.css" />
    <div class="main-body">
      <div class="container">      
        <!-- 顶部信息栏 -->
        <div class="address-column row">
          <div class="address pull-left">
            <i class="fa fa-map-marker"></i>
            <a>首页</a>
            <a>报告</a>
            <a class="active">生活常用</a>
          </div>
        </div>
        <div class="row detail">
          <div class="col-xs-12 col-sm-6 col-md-4 detail-img text-center">
           <a><img src="{$info.cover_img}" class="presentation" alt="{$info.title}"/></a>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-8 detail-text presentation">
            <h2 report_id="{$info.id}" id='_title'>{$info.title}</h2>
            <p class="describe ma">{$info.desc}</p>
            <p>下载人数：{$info.use_nums}</p>
            <p>服务商：{$info.uname}</p>
            <p>更新时间：{$info.update_time|date="Y-m-d H:i:s",###}</p>
            <div class="detail-bottom pull-left">              
              <if condition="$info['price'] elt 0">
                <a href="javascript:void(0);" class="btn btn-primary btn-routine detail-bottom pull-right" btnType='0' id='_downloadOrBuy'>立即下载</a>
              <elseif condition="($info['price'] gt 0) and ($info['pay_status'] gt 0)"/>
                <a href="javascript:void(0);" class="btn btn-primary btn-routine detail-bottom pull-right" btnType='1' id='_downloadOrBuy'>下载</a>
              <else />
                <span><i class="fa fa-yen"></i>{$info.price}</span>
                <a href="javascript:void(0);" class="btn btn-primary btn-routine detail-bottom pull-right" btnType='2' id='_downloadOrBuy'>购&nbsp;&nbsp;买</a>
              </if>
            </div>
          </div>
        </div>
        <!-- api列表 -->
        <div class="list-title-simplify">相关数据：</div>
        <div class="row">
          <if condition="count($related_list) gt 0">
          <foreach name="related_list" item="list">
          <div class="col-xs-6 col-sm-6 col-md-3 list">
            <div class="moco-course-wrap">
              <a href="/index/detail.html?sid={$list.service_id}" target="_blank">
                <div class="moco-course-box">
                  <img src="{$list.service_logo}" width="100%">
                  <div class="moco-course-intro">
                    <h3><b>企</b>{$list.service_name}</h3>
                    <p>{$list.service_introduction}</p>
                    <ul class="list-unstyled">
                      <?php $tag_list_recommend = explode(',',$list['tag_string']); ?>
                      <foreach name="tag_list_recommend" item="tag_rec" key="tag_rec_key">
                        <if condition="$tag_rec_key lt 3">
                          <li class="col-xs-4">{$tag_rec}</li>
                        </if>
                      </foreach>
                    </ul>
                  </div>
                  <div class="moco-course-bottom">
                    <if condition="$list['price'] gt 0">
                      <span class="_unitPrice"><i class="fa fa-yen"></i>{$list.price}</span>起
                    <else />
                      <span class='_unitPrice'>免费</span>
                    </if>
                  <span class="r">{$list.call_num}人在用</span></div>
                </div>
              </a>
            </div>
          </div>
          </foreach>
          <else />
          <div class="wuss"></div>
          </if>
        <!-- api列表结束 -->
      </div>
        
        <!-- 报告详情 -->
        <div class="detail-body-presentation">
          <div class="title">报告简介：</div>
          <div class="col-xs-12 col-md-offset-1 col-md-11 margin-bottom-20">
            <!-- 富文本内容填入处 -->
            {$info.content|html_entity_decode|htmlspecialchars_decode|stripslashes}
            <!-- 富文本内容填入处 end -->
          </div>
        </div>
    </div>
    <!-- 2016/11/2 -->
    <!-- 返回顶部按钮 -->
<!--引导注册弹窗 start-->
<div class="modal fade modal-login _loginBox" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" class="_closeRegister">&times;</span><span class="sr-only">Close</span></button>
			</div>
			<div class="modal-body">
				<p class='_loginText'>免费注册<br/>免费使用</p>
				<div class="form-group">
					<div class="input-group">
						<div class="input-group-addon"> <i class="fa fa-envelope"></i> </div>
						<input type="text" class="form-control _user_email" placeholder="请输入您的邮箱" tip="邮箱不能为空" />
					</div>
				</div>
				<div class="form-group">
					<div class="input-group">
						<div class="input-group-addon"> <i class="fa fa-key"></i> </div>
						<input type="password" class="form-control _passwd" placeholder="6-16位字符，区分大小写" tip="密码不能为空" />
					</div>
				</div>
				<div class="form-group">
					<input type="checkbox" checked="checked" class="_checkBox"> 我已阅读并接受
					<a href="/help/user_agreen" target="_blank">《云途数据用户服务协议》</a>
				</div>
				<button type="submit" class="btn btn-primary btn-block btn-login _register">注&nbsp;&nbsp;册</button>
				<div class="modal-login-bottom">已有帐号？去
					<a href="/member/login.html" class='_gotoLogin'>登录</a>。</div>
			</div>
		</div>
	</div>
</div>
<!--引导注册弹窗 end-->
<include file="Common/index_footer-new" />
<script src="__PUBLIC__/home/v2/js/jquery.scrollUp.min.js"></script>
<script src="__PUBLIC__/home/js/reportdetail.js"></script>
<script src='__PUBLIC__/home/js/memberV2.js'></script>
</body>

</html>